package monitoring.autocomplete;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;

/**
 *
 * @author avbravo
 */
@ManagedBean(name = "monitoring_autoCompleteBeans")
@ViewScoped
public class Beans {

    private user.login.Beans userBeans = new user.login.Beans();
    private gps.general.Beans gpsBeans = new gps.general.Beans();

    public Beans() {
    }
    
    public Beans(gps.general.Beans gpsBeans, user.login.Beans userBeans){
        this.gpsBeans= gpsBeans;
        this.userBeans= userBeans;
    }

    private String strScape(String str) {
        str = str.trim();
        str = str.replace("'", "''");
        str = str.replace("\\", "\\\\");
        return str;
    }

    /**
     * @return the gpsBeans
     */
    public gps.general.Beans getGpsBeans() {
        return gpsBeans;
    }

    /**
     * @param gpsBeans the gpsBeans to set
     */
    public void setGpsBeans(gps.general.Beans gpsBeans) {
        this.gpsBeans = gpsBeans;
    }

    /**
     * @return the userBeans
     */
    public user.login.Beans getUserBeans() {
        return userBeans;
    }

    /**
     * @param userBeans the userBeans to set
     */
    public void setUserBeans(user.login.Beans userBeans) {
        this.userBeans = userBeans;
    }

    
}
